<?php

	//**********************************
	//GENERAL RESULT 
	//**********************************

	define ("XXXX_ACTION_TO_SERVER","Oopse! There are some unexpected failure of database now. Please try again latter");

	
	//**********************************
	//CATEGORY define result
	//**********************************
	define ("CATEGORY_ACTION_ADD_SUCCESS", "You have added new Category successfully.");
	define ("CATEGORY_ACTION_ADD_ERROR","Error! You must enter name of your new Category");

	
	define ("CATEGORY_ACTION_EDIT_SUCCESS","You have edited your category successfully");
	define ("CATEGORY_ACTION_EDIT_ERROR","Error! You must enter new name of your current Category");

	define ("CATEGORY_ACTION_DEL_SUCCESS", "You have deleted your Category successfully");
	define ("CATEGORY_ACTION_DEL_ERROR","Error! You must delete all types and items of this Category");
	
	
	//**********************************
	//TYPE define result
	//**********************************
	
	
	define ("TYPE_ACTION_ADD_SUCCESS","You have added new Type successfully.");		
	define ("TYPE_ACTION_ADD_ERROR_NAME","Error! You must enter name of your new Type");		
	define ("TYPE_ACTION_ADD_ERROR_CATEGORY","Error! You must choose your new Type's Category");	
		
		
	define ("TYPE_ACTION_EDIT_SUCCESS","You have edited your type successfully");		
	define ("TYPE_ACTION_EDIT_ERROR_NAME","Error! Your new name must be different from blank field");		
	define ("TYPE_ACTION_EDIT_ERROR_CATEGORY","Error! You must choose new Category for your current type");		
	

	define ("TYPE_ACTION_DEL_SUCCESS", "You have deleted your Type successfully");
	define ("TYPE_ACTION_DEL_ERROR","Error! You must delete all items of this Type");


	
	//**********************************
	//ITEM define result
	//**********************************
	
	
	define ("ITEM_ACTION_ADD_SUCCESS","You have added new Item successfully.");		
	define ("ITEM_ACTION_ADD_ERROR_NAME","Error! You must enter name of your new Item");		
	define ("ITEM_ACTION_ADD_ERROR_TYPE","Error! You must choose your new Item's type");	
	define ("ITEM_ACTION_ADD_ERROR_PRICE","Error! Please enter your price");				
	define ("ITEM_ACTION_ADD_ERROR_PICTURE","Error! File upload is not correct format of image[png,jpeg,jpg]");			
	define ("ITEM_ACTION_ADD_ERROR_ITEMCODE","Error! You must check your new Item code");		

		
	define ("ITEM_ACTION_EDIT_SUCCESS","You have edited your item successfully");		
	define ("ITEM_ACTION_EDIT_ERROR_NAME","Error! Your new name must be different from blank field");
	define ("ITEM_ACTION_EDIT_ERROR_TYPE","Error! You must choose Type for your current item");		
	define ("ITEM_ACTION_EDIT_ERROR_PRICE","Error! Your new price must be different from blank field");		
			
	define ("ITEM_ACTION_EDIT_ERROR_PICTURE","Error! Your new picture is not correct in format");	
	define ("ITEM_ACTION_EDIT_ERROR_PICTURE2","Warning! You don't upload new image for your products");			
	define ("ITEM_ACTION_EDIT_ERROR_ITEMCODE","Error! Your new item's code must be different from blank field");		

	define ("ITEM_ACTION_DEL_SUCCESS", "You have deleted your Item successfully");
	
	//**********************************
	//ACT define result
	//**********************************

	define ("ABOUT_ACTION_EDIT_SUCCESS","You have edited your About's content successfully ");	
	define ("CONTACT_ACTION_EDIT_SUCCESS","You have edited your Contact's content successfully");			
	define ("TERM_ACTION_EDIT_SUCCESS","You have edited your Term's content successfully");		

?>
